package com.example.casper.Experiment2024.data;

import java.io.Serializable;

public class Book implements Serializable {
    private final int coverResourceId;
    private  String bookName;
    private  double price;

    public Book(String bookName,int coverResourceId ,double price) {
        this.bookName = bookName;
        this.coverResourceId = coverResourceId;
        this.price=price;
    }

    public int getCoverResourceId() {return coverResourceId;}

    public String getTitle() {
        return bookName;
    }

    public double getPrice(){return price;}

    public void setTitle(String Title) {
        this.bookName=Title;
    }

    public void setPrice(double price){
        this.price=price;}
}
